package com.ruoyi.yhj.orderdetail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 订单—服务详情对象 order_details
 * 
 * @author ruoyi
 * @date 2025-05-16
 */
public class OrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单详情编号 */
    private Long id;

    /** 所属订单id */
    @Excel(name = "所属订单id")
    private Long orderId;

    /** 服务id */
    @Excel(name = "服务id")
    private Long serviceId;

    /** 保留字段1 */
    @Excel(name = "保留字段1")
    private String reserved1;

    /** 保留字段2 */
    @Excel(name = "保留字段2")
    private String reserved2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setServiceId(Long serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Long getServiceId() 
    {
        return serviceId;
    }

    public void setReserved1(String reserved1) 
    {
        this.reserved1 = reserved1;
    }

    public String getReserved1() 
    {
        return reserved1;
    }

    public void setReserved2(String reserved2) 
    {
        this.reserved2 = reserved2;
    }

    public String getReserved2() 
    {
        return reserved2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("serviceId", getServiceId())
            .append("reserved1", getReserved1())
            .append("reserved2", getReserved2())
            .toString();
    }
}
